java program to swap two numbers using third variable